GDP = [3.224 3.311 3.4 3.415 3.5 3.51 3.54 3.671 3.723 3.831];
job = [0.7341 0.7362 0.7422 0.7512 0.76 0.7694 0.7745 0.7824 0.7914 0.7954];
b = polyfit(job,GDP,1);
m = 0.7:0.005:0.8;
y = b(1)*m + b(2);
plot(job,GDP,'.',m,y,'LineWidth',2);
axis([0.7 0.8 3 5]);
xlabel('\bfx_{2}');
ylabel('\bfy_{1}');
title('\bfy_{1} = 8.14x_{2} - 2.71')